package com.zjl.spring.demo;

/**
 * @Auther: zhuangjl
 * @Date: 2021/11/11 14:41
 */
public class ThrowDemo {

    public static void main(String[] args) {

        eat();
        System.out.println("method end");
    }

    public static void eat() {
       try {
           int i = 1 / 0;
       }catch (Exception e){
           throw e;
       }
        System.out.println("eat method end");
    }
}
